package com.lzh.runke.entity.spec;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.lzh.runke.entity.OrgInfo;
import com.lzh.runke.enums.DisposalMethodEnum;
import com.lzh.runke.enums.JointOrderStatusEnum;
import com.lzh.runke.enums.WasteFormsEnum;
import com.lzh.runke.core.web_base.enums.deserializer.EnumArrayDeserializer;
import com.lzh.runke.core.entity.spec.BaseSpec;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * @author LiuZiHao
 * @date 创建时间:2023年07月12日 15:13:10
 */
@Getter
@Setter
public class SolidWasteSpec extends BaseSpec {

    @JsonDeserialize(using = EnumArrayDeserializer.class)
    private List<DisposalMethodEnum> disposalMethods;

    @JsonDeserialize(using = EnumArrayDeserializer.class)
    private List<WasteFormsEnum> wasteForms;

    @JsonDeserialize(using = EnumArrayDeserializer.class)
    private List<JointOrderStatusEnum> jointOrderStatus;

    private List<OrgInfo> org;

    private List<String> reportingYears;

    private Date transfertStartTime;
    private Date transferEndTime;
    private Date acceptStartTime;
    private Date acceptEndTime;
    private String keyword;
    private Integer pageNum;
}
